import http from "@/utils/http";
import {EnumAlias} from "@/utils/common";

export function login(data?: object) {
  return http({
    url: `${EnumAlias.PROJECT}/${EnumAlias.MODULE_AUTH}/session/login`,
    method: "post",
    data
  });
}
